Skip to content

Channel home: add support for stations - #9620

Merged
FreeTubeBot merged 3 commits into
FreeTubeApp:developmentfrom
radmorecameron:add-station-support
Sep 5, 2026
Merged

Channel home: add support for stations#9620
FreeTubeBot merged 3 commits into
FreeTubeApp:developmentfrom
radmorecameron:add-station-support

Conversation

@radmorecameron

@radmorecameron radmorecameron commented Aug 10, 2026

Copy link
Copy Markdown
Member

Pull Request Type

  • Feature Implementation

Related issue

closes #9602

Description

I believe stations would work but I'm getting the HLS manifest missing error.

Screenshots

image

Testing

Desktop

  • OS: Fedora Linux
  • OS Version: 44
  • FreeTube version: latest nightly

@radmorecameron

radmorecameron commented Aug 10, 2026

Copy link
Copy Markdown
Member Author

Viewing it on the home page is fine without the YouTube.js PR but viewing it in a playlist needs that PR.

LuanRT pushed a commit to LuanRT/YouTube.js that referenced this pull request Aug 12, 2026
Related FreeTube PR: FreeTubeApp/FreeTube#9620

This PR adds `station` as a lockupview type and will treat it like a video.

Example:
Michael Jackson Home page: https://www.youtube.com/channel/UC5OrDvL9DscpcAstz7JnQGA
Michael Jackson Playlist page: https://www.youtube.com/playlist?list=PLUeQUfurHN6YO6GynESHaAA4oKJYFutPh
@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

Stations can also be listed in search results and up next section does this PR support that?

@radmorecameron

Copy link
Copy Markdown
Member Author

Stations can also be listed in search results and up next section does this PR support that?

It was supported in search results, it should be supported in Up Next section with my latest commit (I haven't been able to test this)

@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

Can be undrafted :)

@radmorecameron
radmorecameron marked this pull request as ready for review August 26, 2026 22:50
@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) August 26, 2026 22:51
@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 26, 2026
absidue
absidue previously approved these changes Aug 27, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified that Station is available on Home tab, within a playlist, search page and up next section.

Would it be possible to label it Station instead of Live?

@radmorecameron

Copy link
Copy Markdown
Member Author

Should now display "Station" and show an icon like YouTube does.
FreeTube:
image

YouTube:
image

@radmorecameron

Copy link
Copy Markdown
Member Author

Hmm, playing the station video was working for me about a week ago but seems to be failing with this error for me now:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'match') (same error we had before for HLS missing)

@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

Hmm, playing the station video was working for me about a week ago but seems to be failing with this error for me now:

Ah yes that too bad, its just a live stream but branded a bit diff and acts a bit diff. Welp at least we show it for when we fix it ig

So same as #9545

@PikachuEXE PikachuEXE left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did not test search page and up next section but I can play it (I guess SABR enforcement not there yet for me


description.value = props.data.description
isLive.value = props.data.liveNow || props.data.lengthSeconds === undefined
isStation.value = props.data.isStation === true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not worth invalidating two reviews but could have been props.data.isStation
There is no other place in the code base (except for 4 getSubscriptionForX methods in utils.js) where boolean is enforced like this

@FreeTubeBot
FreeTubeBot merged commit 0f20fef into FreeTubeApp:development Sep 5, 2026
5 checks passed
@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Support content type Station

6 participants